home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
001a
/
tlxjwpc5.zip
/
REDIAL.SLT
< prev
next >
Wrap
Text File
|
1990-09-21
|
2KB
|
51 lines
//╔═════════════════════════════════════════════════════════════════════╗
//║ RBBS 17.3A JW-PC Consulting DataFlex.HST (608)837-1923 ║
//║ Dual Std HST/V.32/MNP5/V.42 RBBSnet 8:972/2 FIDOnet 1:121/8 ║
//╚═════════════════════════════════════════════════════════════════════╝
//File created on 12-28-1989 08:06:15
//
// By: John Mann for Telix 3.1x
// Just enter a list of numbers with a space in between them and it
// will start dialing. John
//
// This script will automatically pick up on dialing the next number in the
// string after a connection is completed. NEAT! jim wargula
main()
{
str dialing_list[20],
connected_to[3];
int size,
position;
printsc ("^13^10Enter a list of numbers to dial ");
gets (dialing_list, 19);
if (dialing_list == "")
return 0;
prints ("");
strcat (dialing_list, " ");
while (dialing_list){
if (dial (dialing_list, 0, 0) <= 0)
break;
itos (_entry_enum, connected_to);
for (position= 0; position < (strlen (dialing_list) - 1); ++position){
position = strpos (dialing_list, connected_to, position);
if (subchr (dialing_list, position + strlen (connected_to)) != ' ')
continue;
if (position > 0){
if (subchr (dialing_list, position - 1) != ' ')
continue;
}
delchrs (dialing_list, position, strlen (connected_to) + 1);
break;
}
while (carrier ())
terminal ();
delay_scr (20);
}
return 1;
}